﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Designtime
{
    /// <summary>
    /// 设计时可以用的图片文件池
    /// </summary>
    public interface IImageResPool
    {
        /// <summary>
        /// 获取所有的图片
        /// </summary>
        /// <returns>图片绝对地址数组</returns>
        ImageRes[] GetImages();

        ImageRes[] GetVideos();

        ImageRes[] GetScripts();

        ImageRes[] GetTxt();
    }

    public class ImageRes
    {
        public string Name { get; private set; }
        public string FullPath { get; private set; }

        public ImageRes(string name, string fullPath)
        {
            this.Name = name;
            this.FullPath = fullPath;
        }
    }
}
